import xlsx from "node-xlsx";
// 生成表格文件的buffer

export function build(sheets: Sheet[], options?: any): Buffer {
  let arrayBuffer = xlsx.build(sheets, options);
  return Buffer.from(arrayBuffer);
}
